<script type="text/html" id="module-name">form/profile-pic</script>
<div class="row">
	<div class="col-lg-8 col-md-12 col-lg-offset-2">
		<div class="panel panel-info">
			<div class="panel-heading">
				<h1>Upload your image.</h1>
			</div>
			<div class="panel-body">
				<form role="form" class="form-horizontal" id="signupform"
					action="/user/imageUpload" method="POST" enctype="multipart/form-data">
					<div class="input-group" style="margin-bottom: 25px">

						<span class="btn btn-default btn-file"> Pick from your device. <input
							id="fileupload" type="file" name="profile-image">
						</span>
						<div ><img style="display: none;height:100%;width:100%;margin:10px;" id="profile-upload-preview" ></div>
						
						<button style="display: none;" class="btn btn-default js_signup_pic" type="submit">Upload</button>
					</div>

				</form>

			</div>

		</div>
	</div>
</div>
<?php
$env = getenv('APP_ENV') ?: 'production';
if($env != 'production') {
    echo '<script data-main="/js/app" src="/js/lib/require.js"></script>';
}
?>
